import vue from "@vitejs/plugin-vue";
import vueJsx from "@vitejs/plugin-vue-jsx";
import { defineConfig } from "vite";

// 解决setup编写组件时, 自定义组件名
import defineOptions from "unplugin-vue-define-options/vite";

export default defineConfig({
  server: {
    open: true,
    port: 3000,
    host: "0.0.0.0"
  },
  plugins: [vue(), vueJsx(), defineOptions()]
});
